ECHO OFF

ECHO Compiling %1
TSC %1
IF NOT %ERRORLEVEL%==0 (GOTO WithErrors)
ECHO Compiled  %1
GOTO Success


:WithErrors
EXIT /B 99

:Success